let obj = {
    a:1,
    b:2,
    c:3
}

let proxy = new Proxy(obj,{
    get:function(handle,key){
        console.log("这是你访问的值");
        
        return handle[key]
    },
    set:function(handle,key,val){
        console.log("已经改好了哦");
        handle[key] = val
    }
})

proxy.a = 10
console.log(proxy.a);         //和代理说去吧
console.log(obj.a);           //直接和boss对接

